export interface UserResponesData {
  code: number;
  message: string;
  ok: boolean;
}
//定义角色信息返回的数据类型
export interface Role {
  id?: number;
  createTime: string;
  updateTime: string;
  roleName: string;
  remark: null;
}
export type RoleArr = Role[];
//定义角色信息返回的数据类型
export interface RoleResponesData extends UserResponesData {
  data: {
    assignRoles: RoleArr;
    allRolesList: RoleArr;
  };
}
//添加职位携带的参数
export interface AddRole {
  roleIdList: [];

  userId: number;
}
